package model.entityes.exception;

import model.UserException;

public class GSLinkException extends UserException
{

    private static final long serialVersionUID = 1L;

    public static GSLinkException getExceptionWhitUserMessage(String userMessage)
    {
	if( userMessage == null) userMessage = "";
	GSLinkException err = new GSLinkException();
	err.setUserException(userMessage);
	return err;
    }
    
    public static GSLinkException errorIdEqNull()
    {
	return GSLinkException.getExceptionWhitUserMessage("Error: ID == null");
    }
    
}
